// src/utils/menuItems.js
const menuItems = [
    {
        path: '/dash',
        title: '数据分析',
        icon: require('../assets/icons/dash.png'),
        children: [
            { path: '/dash/sale', title: '销售数据统计' },
            { path: '/dash/behavior', title: '用户行为分析' },
            { path: '/dash/suggestion', title: '客户反馈分析' }
        ]
    },
    {
        path: '/goods',
        title: '商品管理',
        icon: require('../assets/icons/goods.png'),
        children: [
            { path: '/goods/process', title: '商品审核' },
            { path: '/goods/information', title: '商品信息管理' },
            { path: '/goods/sort', title: '商品分类管理' },
            { path: '/goods/violation', title: '违规商品处理' }
        ]
    },
    {
        path: '/message',
        title: '用户管理',
        icon: require('../assets/icons/message.png'),
        children: [
            { path: '/message/account', title: '用户信息管理' },
        ]
    },
    {
        path: '/orders',
        title: '订单管理',
        icon: require('../assets/icons/orders.png'),
        children: [
            { path: '/orders/handle', title: '订单查看管理' },
        ]
    },
    {
        path: '/sem',
        title: '营销推广',
        icon: require('../assets/icons/sem.png'),
        children: [
            { path: '/sem/customer', title: '优惠卷管理' },
            { path: '/sem/activity', title: '促销活动管理' },
            { path: '/sem/advertise', title: '广告投放管理' },
        ]
    },
    {
        path: '/transaction',
        title: '交易管理',
        icon: require('../assets/icons/transaction.png'),
        children: [
            { path: '/transaction/dispute', title: '交易纠纷处理' },
        ]
    },
];

export default menuItems;